﻿// -----------------------------------------------------------------------
// <copyright file="CqrsParameterOverride.cs">
// Copyright (c) 2013 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace Moveax.DataAccess.Cqrs
{
    using System;

    public class CqrsParameterOverride
    {
        public string Name { get; private set; }

        public Type ValueType { get; private set; }

        public object Value { get; private set; }

        public CqrsParameterOverride(string name, Type valueType, object value)
        {
            this.Name = name;
            this.ValueType = valueType;
            this.Value = value;
        }
    }
}